test: add MySQL client compatibility test (PHP 8.4 + MySQL 8.0)#82
Merged
AaronFeledy merged 11 commits intomainfrom Feb 19, 2026
Merged
test: add MySQL client compatibility test (PHP 8.4 + MySQL 8.0)#82AaronFeledy merged 11 commits intomainfrom
AaronFeledy merged 11 commits intomainfrom
Conversation
Tests that the backdrop recipe with MySQL 8.0 and PHP 8.4 correctly auto-detects and installs the native MySQL client, verifying: - MySQL client installed (not MariaDB) - No SSL/TLS errors on connect - bee db-export works without SSL errors - Export uses MySQL dump format (not MariaDB dump) This test is expected to fail until @lando/php includes the recipe-prefixed db_client detection fix (lando/php#223). Refs: lando/lando#3833
✅ Deploy Preview for lando-backdrop ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Bugbot Autofix prepared fixes for 2 of the 2 bugs found in the latest run.
Or push these changes by commenting: Preview (ebfa1ff66f)diff --git a/examples/backdrop-mysql-client/README.md b/examples/backdrop-mysql-client/README.md
--- a/examples/backdrop-mysql-client/README.md
+++ b/examples/backdrop-mysql-client/README.md
@@ -37,13 +37,13 @@
```bash
# Exported SQL should use MySQL dump format (not MariaDB)
-lando exec appserver -- cat /tmp/bee-export.sql | grep -qiv "MariaDB dump"
+lando exec appserver -- cat /tmp/bee-export.sql | grep -qi "MariaDB dump" || echo $? | grep 1# Should be able to export with db-export without SSL errors
lando db-export --stdout > /tmp/lando-export.sql
-cat /tmp/lando-export.sql | grep -i "Dump" | grep -qiv "MariaDB"
+cat /tmp/lando-export.sql | grep -i "Dump" | grep -qi "MariaDB" || echo $? | grep 1Destroy tests |
- Bump @lando/php to ^1.11.0 for recipe-prefixed db_client detection - Fix dump format checks: grep for 'MySQL' in header instead of broken inverted grep on full file (bugbot feedback)
bee requires a working Backdrop installation to detect the database connection. Downloads Backdrop 1.33.1 and runs bee site-install during setup, matching the pattern used in the backdrop-init example.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Adds an integration test for the MySQL client auto-detection with the backdrop recipe, covering the issues reported in lando/lando#3833.
Tests:
bee db-exportworks without SSL errorsExpected to fail until
@lando/phpships the recipe-prefixed db_client detection fix (lando/php#223).Note
Medium Risk
Adds a new integration test matrix entry and updates
@lando/php, which can change runtime PHP/service behavior in CI and for consumers relying on the plugin’s bundled dependencies.Overview
Adds a new MySQL-client compatibility integration test by introducing
examples/backdrop-mysql-client(PHP8.4+ MySQL8.0) and wiring it into the GitHub Actions Leia matrix to validate client auto-detection, SSL-free connectivity, and MySQL-format exports.Updates dependencies by bumping
@lando/phpto^1.11.0(with corresponding lockfile update) and recording the change inCHANGELOG.md.Written by Cursor Bugbot for commit ca2ad91. This will update automatically on new commits. Configure here.